/*
** check_name.c for zappy in /home/morgan_t/zappy-2015-2014s-suon_a/server
** 
** Made by thomas morgant
** Login   <morgan_t@epitech.net>
** 
** Started on  Mon Jun 18 17:54:19 2012 thomas morgant
** Last update Mon Jul  2 13:00:40 2012 thomas morgant
*/

#include "server.h"

void	check_name(t_serv *serv, int ac, char **av)
{
  (void) ac;
  (void) av;
  (void) serv;
  
    if ((strncmp(av[1], "-n", 2) != 0) ||
      (strncmp(av[3], "-n", 2) != 0) ||
      (strncmp(av[5], "-n", 2) != 0) ||
      (strncmp(av[7], "-n", 2) != 0) ||
      (strncmp(av[9], "-n", 2) != 0) ||
      (strncmp(av[11], "-n", 2) != 0))
    puts("TOTO Bad Team Name\n");
}
